<?php include("private/mysql.php");
interface BaseOperations 
{
	// Base CRUD-operations
	public function GetRecordById($id);
	public function GetAllRecords();

	public function AddNewRecord();
	
	public function UpdateRecord();
	
	public function RemoveRecordById($id);
}

class BaseEntity {
	private $id;
	
	public function setId($id)
	{
		$this->id = $id;
	}
	
	public function getId()
	{
		return $this->id;
	}
}
?>